#include <stdio.h>

int main() 
{
    int age,a;
    0 < age <= 200;
    scanf("%d",&age);
    a = age * 3156;
    printf("%d0000",a);
    return 0;
}